﻿using Lcygcc.Domain.Repository.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Domain.Service
{
    /// <summary>
    /// 同步临时操作服务类
    /// </summary>
    public interface ISyncService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="status">状态</param>
        /// <param name="serviceType">平台类型</param>
        /// <param name="dataType">数据类型</param>
        /// <param name="count">数量</param>
        /// <returns></returns>
        List<SyncTemp> GetTempData(int status,int serviceType, int dataType,int count);

        /// <summary>
        /// 转移记录
        /// </summary>
        /// <param name="syncTempList"></param>
        void MoveTempToHistoryData(List<SyncTemp> syncTempList);

        /// <summary>
        /// 更新失败记录
        /// </summary>
        /// <param name="syncTempList"></param>
        void UpdateTempFail(List<SyncTemp> syncTempList);


    }
}
